﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonLibrary.DataModel.Form
{
    public class FormFieldEntity
    {
        public FormFieldEntity()
        {
            ifwfjudge = string.Empty;
        }

        /// <summary>
        /// 表单字段id
        /// </summary>
        public int formfield_id { set; get; }       

        /// <summary>
        /// 表单id
        /// </summary>
        public int form_id { set; get; } 

        /// <summary>
        /// 名称
        /// </summary>
        public string name { set; get; }   

        /// <summary>
        /// 值类型
        /// </summary>
        public string fieldtype { set; get; }   

        /// <summary>
        /// 对应winform控件类型
        /// </summary>
        public string formtype { set; get; }   

        /// <summary>
        /// 对应web控件类型
        /// </summary>
        public string webtype { set; get; }   

        /// <summary>
        /// 值范围
        /// </summary>
        public string valuescale { set; get; }

        /// <summary>
        /// 是否查询
        /// </summary>
        public int isquery { set; get; }   

        /// <summary>
        /// 默认值
        /// </summary>
        public string valuedefault { set; get; }   

        /// <summary>
        /// 输入来自外部
        /// </summary>
        public string inputfrom { set; get; }

        /// <summary>
        /// 外部参数
        /// </summary>
        public string fromparams { set; get; }  

        /// <summary>
        /// 外部值
        /// </summary>
        public string fromvalue { set; get; }  

        /// <summary>
        /// 描述
        /// </summary>
        public string descn { set; get; }

        /// <summary>
        /// 用于wf存储的变量名,没有则null
        /// </summary>
        public string ifwfjudge { get; set; }

    }
}
